package com.dyrj;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan("**.dao")
@SpringBootApplication
@EnableScheduling
//@EnableEurekaClient
public class DyrjApplication {
	private static final Logger log = LoggerFactory.getLogger(DyrjApplication.class);

	public static void main(String[] args) {
		SpringApplication application = new SpringApplication(DyrjApplication.class);
		application.setBannerMode(Banner.Mode.OFF);
		application.run(args);
		log.info("Service startup complete. (服务启动完成。)");
	}
}
